import request from "@/utils/request"

export const getInfoPageApi = (page,pageSize,title,status,category)=>request.get(`/stocktaking_info?page=${page}&pageSize=${pageSize}&title=${title}&status=${status}&category=${category}`)

export const addInfoApi = (data)=>request.post('/stocktaking_info',data)

export const confirmApi = (data)=>request.put(`/stocktaking_info`,data)

export const deleteInfoApi = (id)=>request.delete(`/stocktaking_info/${id}`)